/**
 * @(#)
 *
 * @date		2011. 10. 11.
 * @version		1.0
 * @author		bgh
 * @description	메인 리스트  Value Object
 *
 */
package com.skt.common_hr.retirement.model.vo
{
	import com.skt.common_hr.common.Variables;

	[Bindable]
	public class mainListVO
	{
		public var GWAREKEY:String;	//Groupware 전자결재 Key
		public var WSTATUS:String;	//결재진행상태
		public var WSTATX:String;	//상태 TEXT
		public var BEGDA:Date;		//근무일
		public var TEXT1:String;	//근무내용
		public var PERNR:String;	//신청자사번
		public var TEXT2:String;	//반려사유

		public var BEGDA_JSON:String;		//신청일
		public var BEGDA_TX:String;		//신청일

		public function get PERNR_CHECK():String {
			return parseInt(PERNR).toString();
		}

		public function get WSTATUS_CHECK():Boolean {
			if(WSTATUS=="1") {
				return true;
			} else {
				return false;
			}
		}

		// 반려일때
		public function get WSTATUS_CHECK2():Boolean {
			if(WSTATUS=="4") {
				return true;
			} else {
				return false;
			}
		}
	}
}